﻿@model Guline.Web.Central.Models.RegisterModel
<div class="l_label_register">
    <div class="l_title_rigister">Đăng Ký</div>
    <div class="l_logan">
        Miễn phí và sẽ luôn như vậy.
    </div>
</div>

<div class="l_register_box">
    @using (Html.BeginForm())
    { 
        @Html.TextBoxFor(m => m.FirstName, new { @class = "l_inputtext", placeholder = "Tên" })
        @Html.TextBoxFor(m => m.LastName, new { @class = "l_inputtext l_lastname", placeholder = "Họ" })
        @Html.TextBoxFor(m => m.Email, new { @class = "l_inputtext l_inputtext_l", placeholder = "Email của bạn" })       
        @Html.TextBoxFor(m => m.ConfirmEmail, new { @class = "l_inputtext l_inputtext_l", placeholder = "Nhập lại Email" })       
        @Html.TextBoxFor(m => m.Password, new { @class = "l_inputtext l_inputtext_l", placeholder = "Mật Khẩu Mới" })          
       
        <div class="l_label_birthday">Ngày Sinh</div>
        <select name="birthday_day" id="day" class="l_se_day">
            <option value="0">Ngày</option>
            @for (int day = 1; day <= 31; day++)
            { 
                <option value="@day">@day</option> 
            }

        </select>
        <select name="birthday_day" id="month" class="l_se_month">
            <option value="0">Tháng</option>
            @for (int month = 1; month <= 12; month++)
            { 
                <option value="@month">@month</option> 
            }
        </select>
        <select name="birthday_day" id="year" class="l_se_year">
            <option value="0">Năm</option>
            @for (int year = DateTime.Now.Year - 5; year > DateTime.Now.Year - 120; year--)
            { 
                <option value="@year">@year</option> 
            }
        </select>
        
        <div class="l_gender">
            <span class="l_rad_gender">
                <input type="radio" name="sex" value="1" id="u_0_d">
                <label class="_58mt">Nữ</label>
            </span>
            <span class="l_rad_gender">
                <input type="radio" name="sex" value="2" id="u_0_e">
                <label class="_58mt">Nam</label>
            </span>
        </div>
        <button type="submit" class="l_button_register" name="websubmit" id="u_0_i">Đăng Ký</button>
        <div class="clr"></div>
    }
</div>
